export interface NodeParams {
  group_id?: number
  node_status?: number
  tcc_status?: number
  name?: string
  kernel_version?: string
  tcc_version?: string
  offset?: number
  limit?: number
  ip?: string
}
export interface NodeData {
  id: string | number
  name: string
  group_id: string
  group_name: string
  node_status: 0
  tcc_status: 0
  next_tcc_status: 0
  bbr_status: 0
  tcc_version: string
  latest_tcc_version: string
  last_reported_at: string
  platform: string
  kernel_version: string
  kernel_arch: string
  ips: [string]
  macs: [string]
  host_id: string
  uuid: string
  created_at: string
  hardware: {
    motherboard: {
      vendor: string
      product: string
    }
    cpu: {
      devices: [
        {
          cores: 0
          model_name: string
          vendor: string
        }
      ]
    }
    memory: {
      devices: [
        {
          manufacturer: string
          size: string
          type: string
        }
      ]
      total: string
      available: string
    }
    storage: {
      devices: [
        {
          name: string
          model: string
          vendor: string
          serial: string
          size: string
        }
      ]
    }
    network_controller: {
      devices: [
        {
          vendor: string
          product: string
        }
      ]
    }
  }
  offline_days: string
}
export interface NodeGroupParams {
  name?: string
  remark?: string
  offset?: number
  limit?: number
}
export interface NodeGroupData {
  id: string | number
  name: string
  remark?: string
  order?: string
  created_at?: string
  node_num?: string
}
export interface DeleteNodes {
  ids: string[]
}
export interface DeleteGroups {
  ids: string[]
}
export interface CreateGroupParams {
  id?: string
  name: string
  remark: string
  order: string
  node_ids: string[]
}
export interface updateMultipleStatus {
  ids?: string[]
  next_tcc_status: number
  group_id?: string
}

export interface singleNode {
  id: string
}
export interface EditSingleNode {
  id?: string
  name: string
  group_id: string
  next_tcc_status?: number
}
